package constants;

/**
 * This class contains various constants used by
 * by the application
 */
public class Constants {

	/**
	 * Constants related to external communication
	 */
	public class IO{
		/**
		 * Our standard file extension for saved states
		 */
		public static final String file_ext = ".file";
	}

	/**
	 * Constants related to the GUI. Sizes, pixel positions, title strings, etc.
	 */
	public class GUI{
		//Default strings
		/**
		 * The title on the game window
		 */
		public static final String main_window_title = "Ludo 3K";

		//GUI sizes
		/**
		 * The width of the main game window
		 */
		public static final int main_window_width = 800;
		
		/**
		 * The height of the main game window
		 */
		public static final int main_window_height = 650;
		
		/**
		 * The side of a drawn square
		 */
		public static final int squareSide = 45; 

		/**
		 * X-coordinate of the first square (squares[0])
		 */
		public static final int playingfield_firstSquareX = 80; 

		/**
		 * Y-coordinate of the first square (squares[0])
		 */
		public static final int playingfield_firstSquareY = 225;

		/**
		 * The ammount of empty horizontal space between squares 
		 */
		public static final int playingfield_spacingX = 10;

		/**
		 * The ammount of empty vertical space between squares
		 */
		public static final int playingfield_spacingY = 2;
		
		//Other
		/**
		 * The icon on the game window
		 */
		public static final String main_window_icon = "img/Game-Board-Ludo-Circles-Full.gif";

	}

	/**
	 * Locations to sound files
	 */
	public class Sounds{
		public static final String battle     = "sound/Battle.wav";
		public static final String battleLose = "sound/Battle Lose.wav";
		public static final String battleWin  = "sound/Battle Win.wav";
		public static final String bloodlust  = "sound/BloodLust!.wav";
		public static final String diethrow   = "sound/DieThrow.wav";
		public static final String jackass    = "sound/jackass.wav";
		public static final String loseGame   = "sound/LoseGame.wav";
		public static final String moveHome   = "sound/MoveHome.wav";
		public static final String moveOut    = "sound/MoveOut.wav";
		public static final String moveStep   = "sound/MoveStep.wav";
		public static final String newGame    = "sound/NewGame.wav";
		public static final String newTurn    = "sound/NewTurn.wav";
		public static final String quitter    = "sound/Quitter.wav";
		public static final String rageQuit   = "sound/RageQuit.wav";
		public static final String winGame    = "sound/WinGame.wav";
	}
}